From db8fc03440e96c279e5deb6064a73010810a1d31 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 13 Dec 2005 00:42:39 +0000 Subject: [PATCH] Add fixme note for ArticleViewHeader hook, which appears to be misplaced. If the view is a parser cache hit, the hook will not be called. --- includes/Article.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/Article.php b/includes/Article.php index fc0efc8051..6a4a65d673 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -786,6 +786,10 @@ class Article { } } if( !$outputDone ) { + /** + * @fixme: this hook doesn't work most of the time, as it doesn't + * trigger when the parser cache is used. + */ wfRunHooks( 'ArticleViewHeader', array( &$this ) ) ; # wrap user css and user js in pre and don't parse # XXX: use $this->mTitle->usCssJsSubpage() when php is fixed/ a workaround is found -- 2.20.1